/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ez2find.manager;

import com.ez2find.model.Area;
import com.ez2find.model.Hous;
import com.ez2find.model.CategoriaInmobiliario;
import com.ez2find.model.RegisterUser;
import com.ez2find.model.Site;
import java.util.List;
import javax.ejb.Local;

/**
 *
 * @author Owner
 */
@Local
public interface HousManagerLocal {

    void create(Hous hous) throws Exception;

    void delete(Hous hous) throws Exception;

    Hous find(long id);

    long lastCode();

    List<Hous> listAll();

    List<Hous> listHousingArea(Area area, boolean housC, CategoriaInmobiliario housCategorie, String consult);

    List<Hous> listHousingSite(Site site, boolean housC, CategoriaInmobiliario housCategorie, String consult);

    void update(Hous hous) throws Exception;

    Hous merge(Hous hous) throws Exception;
    
}
